export interface loginFormData{
    username:string,
    password:string
}

export interface ResponseData{
    code: number,
    message: string,
    ok: boolean
}

export interface loginResponseData extends ResponseData{
    data:string
}

export interface userInfoResponseData extends ResponseData {
    data:{
        routes:string[],
        roles:string[],
        name:string,
        avatar:string
    }
}